<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8" errorPage="DBError.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.carebuddy.petcare.biz.*"%>
<%@ page import="com.carebuddy.petcare.controller.*"%>
<%request.setCharacterEncoding("UTF-8");%>
<jsp:useBean id="userVO" class="com.db.vo.UserVO"><jsp:setProperty name="userVO" property="*"/></jsp:useBean>
<%
	Carebuddy carebuddy = new Carebuddy();
	UserController userController = carebuddy.getUserController();
		
	userController.insertUser(userVO);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>회원가입처리</title>
</head>
<script language="javascript">
</script>
<body>
<script>
		alert("회원가입에 성공했습니다. 로그인페이지로 이동합니다.");
		location.href("../../login.html"); 
</script>
</body>
</html>